package main

import (
	"fmt"
	"math/rand"
	"time"
)

func main() {
	fmt.Println("抽奖开始了，人生巅峰即将开始，心里有点小激动")
	fmt.Println("请输入你要下注的金额和队伍：")

	var money int
	var team string
	fmt.Scanf("%d+%s", &money, &team)
	fmt.Printf("您下注了%s%d万元，人生巅峰即将开始\n", team, money)
	time.Sleep(1 * time.Second)

	myrand := rand.New(rand.NewSource(time.Now().UnixNano()))
	luckNumber := myrand.Intn(100)
	fmt.Println("luckNumber=", luckNumber)
	if luckNumber > 90 {
		fmt.Println("靠海别墅欢迎你")
	} else {
		fmt.Println("天台欢迎你")
	}
}
